package com.newer.his.Enjoin.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.servlet.ModelAndView;

import com.newer.his.Enjoin.service.EnjoinService;
import com.newer.his.common.entity.Enjoin;

@Controller
public class EnjoinController {
	
	@GetMapping("/yisheng")
	public String a(){
		return "yishengdept/index.html";
	}
//	@GetMapping("/AdiveTypeID/{id}")
//	public ModelAndView findByid(@PathVariable int id,ModelAndView mv){
//		Enjoin en = enjoin.EnjoinFindByid(id);
//		mv.addObject("en", en);
//		mv.setViewName("yishengdept/index.html");
//		return mv;
//	}
}
